home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d22 / masdir42.arc / ISLABEL.DOC < prev    next >
Encoding:
Text File  |  1989-03-08  |  821 b   |  24 lines

  1.  
  2. Documentation for ISLABEL.COM, courtesy of Bob Stephan
  3.  
  4. ISLABEL checks to see if a disk has a specific volume label. Enter either
  5.  
  6.    ISLABEL d:
  7.  or
  8.    ISLABEL d:labelname
  9.  
  10. where d: is the drive, and <labelname> is the specific volume label to 
  11. check for.  ISLABEL shows the result of its check on the screen, but
  12. it is more useful in a batch file because it sets the ERRORLEVEL to 
  13. indicate the result of the check.  The screen output can be hidden 
  14. by redirecting it to the NUL device, e.g., ISLABEL d: >NUL.
  15.  
  16. The ERRORLEVEL set is:
  17.  
  18. for ISLABEL d: ... 1 if the disk has a label, 0 if not,
  19. for ISLABEL d:labelname ... 1 if the name matches, 0 if not.
  20.  
  21. The label name is up to 11 characters long including spaces.  All
  22. alphabetic characters are converted to upper case and checked for
  23. a match.
  24.